package com.hgkj.cloud.base.service.impl;

import com.hgkj.cloud.base.dao.SysTenantAuthMapper;
import com.hgkj.cloud.base.domain.SysTenantAuth;
import com.hgkj.cloud.base.service.SysTenantAuthService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class SysTenantAuthServiceImpl implements SysTenantAuthService {

    @Autowired
    private SysTenantAuthMapper sysTenantAuthMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return sysTenantAuthMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(SysTenantAuth record) {
        return sysTenantAuthMapper.insert(record);
    }

    @Override
    public int insertSelective(SysTenantAuth record) {
        return sysTenantAuthMapper.insertSelective(record);
    }

    @Override
    public SysTenantAuth selectByPrimaryKey(Integer id) {
        return sysTenantAuthMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(SysTenantAuth record) {
        return sysTenantAuthMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(SysTenantAuth record) {
        return sysTenantAuthMapper.updateByPrimaryKey(record);
    }

    @Override
    public SysTenantAuth getTenantAuthByChannelId(String  channel_id) {
        return sysTenantAuthMapper.getTenantAuthByChannelId(channel_id);
    }

    @Override
    public Map<String, Object> findTestAiReportStatus(Map<String, Object> map) {
        return sysTenantAuthMapper.findTestAiReportStatus(map);
    }

    @Override
    public int updateTestAiReportStatus(Map<String, Object> map) {
        return sysTenantAuthMapper.updateTestAiReportStatus(map);
    }

    @Override
    public Map<String, Object> findCustomTableStatus(String  channel_id) {
        return sysTenantAuthMapper.findCustomTableStatus(channel_id);
    }

    @Override
    public int updateCustomTableStatus(Map<String, Object> map) {
        return sysTenantAuthMapper.updateCustomTableStatus(map);
    }
}
